Skip to main content

Reply to this post | See parent post | Go Back
View Post [edit]

Poster: aibek Date: Dec 28, 2012 8:33am
Forum: texts Subject: Re: Try pdfcrop before printing PDF files

Thanks for your additions, martyveldman and ecossais.

There are many scanned books with pages having text to the left and right alternatively. Here pdfcrop is very useful as it estimates the minimum area for each page separately, and yet outputs the whole thing in one pdf file.

There is this though: pdfcrop 1.20 apparently takes only standard paper sizes. In the Internet Archive books, I have to first change the paper size to A4 (via "Print as PDF" feature of PDF readers).

Update [2012-12-28]: It has nothing to do with paper-sizes. Something else is wrong, which causes failure of pdftex (which pdfcrop uses for page inclusion) with the error: `PDF inclusion: invalid font in reference type <dictionary>'. (This happens for many, but not all IA pdf files.) For the cause of this failure, and solution, please search for another post by me.

An incomplete post is here:

The second pdfcrop above (Eric Doviak’s) should not have problem with IA files. I have not tried Doviak’s pdfcrop, but the files pdfedit produces are like the IA files (i.e., pdfedit files have exactly the same issue as the IA files), so pdfedit should have no problem with processing IA files.

This post was modified by aibek on 2012-12-28 16:33:33